/*  --------------------------- (C) COPYRIGHT 2020 Fortiortech ShenZhen -----------------------------
    File Name      : GPIO.c
    Author         : Fortiortech  Appliction Team
    Version        : V1.0
    Date           : 2020-04-11
    Description    : This file contains .C file function used for Motor Control.
    ----------------------------------------------------------------------------------------------------
                                       All Rights Reserved
    ------------------------------------------------------------------------------------------------- */
#include "Myproject.h"


/*  -------------------------------------------------------------------------------------------------
    Function Name : void GPIO_Init(void)
    Description   : GPIO初始化配置,可将I/O口配置成输入或输出模式，上拉还是不上拉，模拟输出还是数字输出
    Input         : 无
    Output                :   无
    -------------------------------------------------------------------------------------------------*/

void GPIO_Init(void)
{
//  SetBit(P2_OE, P23);
//  SetBit(P2_PU , P23);  
//  GP23 = 1;
 
   SetBit(P0_OE, P07);
//  SetBit(P0_PU , P07);  
//  GP07 = 1;

	SetBit(P1_OE, P12);
//	SetBit(P0_OE, P07);
}

